home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
dev
/
gui
/
BGUI11c.lha
/
docs
/
buttonclass.doc
< prev
next >
Wrap
Text File
|
1995-04-23
|
2KB
|
74 lines
File: buttonclass.doc
Description: Buttonclass documentation.
Copyright: (C) Copyright 1994-1995 Jaba Development.
(C) Copyright 1994-1995 Jan van den Baard.
All Rights Reserved.
------------------------------------------------------------------------------
TABLE OF CONTENTS
buttonclass/--background--
buttonclass/Methods
buttonclass/Attributes
buttonclass/--background-- buttonclass/--background--
NAME
Class: buttonclass
Superclass: baseclass
Include File: <llibraries/bgui.h>
FUNCTION
To provide a gadget simular to the gadtools.library button kind. The
gadget can either be a normal button or a toggle button. Vectorclass
attributes can be passed at create time to add imagery to the gadget.
The gadget will send the following attributes in it's notification
events:
GA_ID - Gadget object ID.
GA_UserData - Gadget object userdata contents.
GA_Selected - Gadget object selected state.
Please note that the gadget will send out interim notification
messages every single timer tick while the gadget is selected.
buttonclass/Methods buttonclass/Methods
NEW METHODS
None.
CHANGED METHODS
None.
buttonclass/Attributes buttonclass/Attributes
NOTE: The VIT_VectorArray and VIT_BuiltIn attributes are also settable
with OM_SET or OM_UPDATE.
NAME
GA_Selected - ( BOOL )
FUNCTION
This attributes has an extended applicability. It has been made
get-able to make it easy to inquire about the selected state of an
object.
Default is FALSE. Applicability is (ISGNU).
NAME
BUTTON_Image, BUTTON_SelectedImage -- ( struct Image * )
FUNCTION
To provide a button object width a standard Intuition or BOOPSI image.
The images will be centered inside the object it's hitbox. You can
supply a selected image which is shown when the gadget is selected.
If no selected imagery is specified the normal image is also shown
when the gadget is selected.
This attribute overides the creation of a VectorClass image.
Defaults are NULL. Applicability is (I).